package com.wp.mall.ware;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
* 1.整合mybatis-plus
* 		1.导入依赖
* 		 <dependency>
*             <groupId>com.baomidou</groupId>
*             <artifactId>mybatis-plus-boot-starter</artifactId>
*             <version>3.4.0</version>
*         </dependency>
*       2.配置
*       	数据源：1.导入数据库驱动
*       		   2.在application.yml配置数据库信息
*       	配置mybatis-plas
*       			1.使用@MapperScan
*       			2.告诉mybatis-plus，xml文件
 */
@MapperScan("com.wp.mall.ware.dao")
@SpringBootApplication
public class MallWareApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallWareApplication.class, args);
    }

}
